package com.boot.mapper;

import com.boot.model.Pet;
import com.boot.model.UpVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

@Mapper
public interface PetMapper {
    public void savePet(Pet pet);

    public void updatePet(Pet pet);
    public void delPet(String id);
//    @Select("select * from pet;")
    public List<UpVO> queryPet();
    Long count();
    List<Pet> list(Integer start, Integer pageSize);
}
